package com.sf.fy.uav.common.request.order;

import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import java.util.List;


/**
 * @author LTQ
 */

@Data
@Validated
public class CarrierWaybillRequest {


    @ApiModelProperty("寄快递方经度")
    @NotBlank(message = "寄快递方经度不能为空")
    private String senderLon;

    @ApiModelProperty("寄快递方纬度")
    @NotBlank(message = "寄快递方纬度不能为空")
    private String senderLat;

    @ApiModelProperty("传1")
    private Integer goodsType;

    @ApiModelProperty("小程序决定传值策略，单位为g")
    @NotNull(message = "货物重量不能为空")
    private Integer goodsWeight;

    @ApiModelProperty("收快递方经度")
    @NotBlank(message = "收快递方经度不能为空")
    private String receiverLon;

    @ApiModelProperty("收快递方纬度")
    @NotBlank(message = "收快递方纬度不能为空")
    private String receiverLat;

    @ApiModelProperty("优惠券领取记录id")
    private String userCouponId;

    @ApiModelProperty("费用明细id")
    private String expenseDetailsId;

    @NotEmpty(message = "寄快递方范围内航站id")
    @ApiModelProperty("寄快递方范围内航站id")
    private List<Long> senderAirportIds;

    @ApiModelProperty("收快递方范围内航站id")
    @NotEmpty(message = "收快递方范围内航站id")
    private List<Long> receiverAirportIds;
}
